home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / libxt.doc < prev    next >
Text File  |  1995-03-31  |  4KB  |  78 lines

  1. Item: 111 by _davemarsh at hpcvbbs.UUCP 
  2. Author: [DAVID J. MARSH] 
  3.   Subj: Library object transfer from ROM 
  4.   Keyw: rom library 
  5.   Date: Mon Sep 17 1990 19:37  
  6.  Lines: 41 
  7.  
  8. This Program may be used to combine 4 32K ROM cards into 1 128K RAM card, 
  9. thus enabling all of them to be used at once.  Also, you may take 
  10. sections of code from ROM cards (Individual Library objects) and store 
  11. them in RAM.  The FIN library from the equation card comes to mind... 
  12.   To use the program, simply download it into your 48 in binary mode, 
  13. recall the library object to the stack, and store it in PORT 0.  Turn the 
  14. calculator off then on, and the library will attach itself.  Go to the 
  15. Library menu and select LIBXT:.  Three labeled keys will appear. the 
  16. first is the copyright and shareware($15) notice.  The second is ROM->.  
  17. When this key is pressed, the user will be prompted for the source port- 
  18. the default is PORT 2.  After entering the port#, the stack display will 
  19. reappear containing the extracted libraries!.  the menu then changes to a 
  20. selection of options for each library.  you may store each of them in 
  21. ports 1,2, or 0. the SIZE key will show a byte count for each library.  
  22. The normal stack functions are active at this point, and the unwanted 
  23. libraries may simply be dropped.   
  24.  
  25.   A couple of hints- 
  26.     if flag 1 is set during execution, the user will see a binary integer 
  27. displayed on the screen as the ROM is searched.  The calculator will beep 
  28. each time it finds a library, and a list of those addresses will be 
  29. stored in a global variable 'ADLST'.  This is for the more adventurous 
  30. who might find these things interesting... 
  31.     if flag 6 is set after the initial execution of the program, it is 
  32. possible to suppress the input of a source PORT#.  The program will 
  33. simply look at the value of the global 'PORT' variable and use it.  this 
  34. is useful if you know you will always be using PORT 2, for example. 
  35.     The program will abort if it finds that things are not set up as it 
  36. expects- various error messages are provided. 
  37.    
  38.  
  39. Please, please remember that this program is shareware, and that I would 
  40. like to recieve at least a small compensation for my efforts... 
  41.  
  42. I may be reached at (714)568-5315 in the evenings if there are any 
  43. questions, comments, etc.   
  44.  
  45. Enjoy!    
  46.                      Dave Marsh. 
  47.  
  48. Two cautions about this program- 
  49. always be sure to back up your machine before trying out any extracted 
  50. objects-  It always gets them out of ROM correctly, but some of the 
  51. library objects (notably the HP FIN library from the EQ card) are 
  52. sensitive to where they reside in RAM-  There seems to be no problem when 
  53. the libraries are used from a RAM card, or when using a merged card with 
  54. more than 32K of data in your machine. (After 32K, the objects get pushed 
  55. into the merged card.)  Many of the libraries that I have tested this 
  56. with work just fine in port 0, but just to be sure, be cautious. 
  57. fair warning- I have a friend whose machine crashed HARD on the finance 
  58. library in PORT 0. 
  59.  
  60. second caution-  
  61. The HP41 emulator ROM so far WILL NOT WORK when it's extracted into RAM-  
  62. it is apparently VERY sensitive to address positioning.  I'm talking to 
  63. ZenGrange about it, and expect to have a solution soon... 
  64.  
  65. [Dirty Laundry Department: LIBXT was posted on the HP BBS for only a day or 
  66. two, until HP noticed it, and they immediately purged it and all notes about 
  67. it, and called Dave to tell him that they don't want software on their board 
  68. that compromises the security of ROM-developers' code.  Ha!  They then added 
  69. injury to insult by anonymously releasing "under the table" a three-SYSEVAL 
  70. routine (!!!) that instantly recalls a port's contents to the stack, thus 
  71. making Dave's hard work obsolete.  This seems to me to be proof that they are 
  72. not REALLY concerned with ROM-developers' code security; they merely want to 
  73. APPEAR concerned.  In any case, they probably would never have released this 
  74. gem of privacy-busting software had Dave not sweated over his library 
  75. extractor, so we all owe Dave a big "Thanx!"  All of the above is my opinion, 
  76. which in my humility I equate with Truth.  You can find the "anonymous" port 
  77. recaller in the IO2 directory on this disk.  -jkh-] 
  78.